@import url('https://fonts.googleapis.com/css2?family=Lato&display=swap');

body {
	font-family: 'Lato', sans-serif;
}

#controls {
	font-size: 3em;
	color: #FFF;
	position: absolute;
	bottom: 40;
	right: 40;
	text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

.controls {
	display: none;
}

.dialog {
	background-color: rgba(60, 68, 71, 0.85);
	color: #fff;
	box-shadow: 0px 0px 50px 0px #000;
	position: absolute;
	overflow: hidden;
	top: 50%;
	left: 50%;
	width: 600px;
	height: 175px;
	transform: translate(-50%, -50%);

	display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
}

.dialog.big {
	height: 200px;
}

.dialog .head {
	text-align: center;
	font-size: 20px;

	height: 40px;
	width: 100%;

	margin-top: 10px;
}

.dialog .head span:before {
	content: "";
	display: inline-block;
	height: 100%;
	vertical-align: middle;
}

.dialog input[type="text"] {
	width: 80% !important;
	color: white;

	margin: 0 auto !important;
	border-bottom: 0.1em solid rgba(255, 255, 255, 0.6);
}

.dialog input[type="text"]:focus {
	border-color: rgba(255, 255, 255, 0.8) !important;
	box-shadow: none !important
}

.dialog textarea {
	width: 100%;
	height: 128px;
}

.dialog .buttons {
	width: 40%;
	margin: 0 auto;

	margin-top: 20px;
}

.dialog a[name="submit"] {
	width: 45%;

	float: left;
}

.dialog a[name="cancel"] {
	width: 45%;

	float: right;
}